/*
*
* RBusinessProduct.java
* @date 2019-01-27
*/
package com.lyz.myself.pojo.Po;

import java.io.Serializable;

/**
 * 5kcrm_r_business_product   商机和产品
 */
public class RBusinessProduct implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private Integer business_id;

    /**
     * 
     */
    private Integer product_id;

    /**
     * 成交价
     */
    private Double sales_price;

    /**
     * 报价
     */
    private Double estimate_price;

    /**
     * 产品交易数量
     */
    private Integer amount;

    /**
     * 折扣率
     */
    private Integer discount_rate;

    /**
     * 税率
     */
    private Integer tax_rate;

    /**
     * 单价
     */
    private Double unit_price;

    /**
     * 小计
     */
    private Double subtotal;

    /**
     * 产品交易备注
     */
    private String description;

    /**
     * 小计和
     */
    private Double subtotal_val;

    /**
     * 其他费用
     */
    private Double discount_price;

    /**
     * 
     */
    private Integer company_id;

    /**
     * 5kcrm_r_business_product
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 
     * @return business_id 
     */
    public Integer getBusiness_id() {
        return business_id;
    }

    /**
     * 
     * @param business_id 
     */
    public void setBusiness_id(Integer business_id) {
        this.business_id = business_id;
    }

    /**
     * 
     * @return product_id 
     */
    public Integer getProduct_id() {
        return product_id;
    }

    /**
     * 
     * @param product_id 
     */
    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    /**
     * 成交价
     * @return sales_price 成交价
     */
    public Double getSales_price() {
        return sales_price;
    }

    /**
     * 成交价
     * @param sales_price 成交价
     */
    public void setSales_price(Double sales_price) {
        this.sales_price = sales_price;
    }

    /**
     * 报价
     * @return estimate_price 报价
     */
    public Double getEstimate_price() {
        return estimate_price;
    }

    /**
     * 报价
     * @param estimate_price 报价
     */
    public void setEstimate_price(Double estimate_price) {
        this.estimate_price = estimate_price;
    }

    /**
     * 产品交易数量
     * @return amount 产品交易数量
     */
    public Integer getAmount() {
        return amount;
    }

    /**
     * 产品交易数量
     * @param amount 产品交易数量
     */
    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    /**
     * 折扣率
     * @return discount_rate 折扣率
     */
    public Integer getDiscount_rate() {
        return discount_rate;
    }

    /**
     * 折扣率
     * @param discount_rate 折扣率
     */
    public void setDiscount_rate(Integer discount_rate) {
        this.discount_rate = discount_rate;
    }

    /**
     * 税率
     * @return tax_rate 税率
     */
    public Integer getTax_rate() {
        return tax_rate;
    }

    /**
     * 税率
     * @param tax_rate 税率
     */
    public void setTax_rate(Integer tax_rate) {
        this.tax_rate = tax_rate;
    }

    /**
     * 单价
     * @return unit_price 单价
     */
    public Double getUnit_price() {
        return unit_price;
    }

    /**
     * 单价
     * @param unit_price 单价
     */
    public void setUnit_price(Double unit_price) {
        this.unit_price = unit_price;
    }

    /**
     * 小计
     * @return subtotal 小计
     */
    public Double getSubtotal() {
        return subtotal;
    }

    /**
     * 小计
     * @param subtotal 小计
     */
    public void setSubtotal(Double subtotal) {
        this.subtotal = subtotal;
    }

    /**
     * 产品交易备注
     * @return description 产品交易备注
     */
    public String getDescription() {
        return description;
    }

    /**
     * 产品交易备注
     * @param description 产品交易备注
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * 小计和
     * @return subtotal_val 小计和
     */
    public Double getSubtotal_val() {
        return subtotal_val;
    }

    /**
     * 小计和
     * @param subtotal_val 小计和
     */
    public void setSubtotal_val(Double subtotal_val) {
        this.subtotal_val = subtotal_val;
    }

    /**
     * 其他费用
     * @return discount_price 其他费用
     */
    public Double getDiscount_price() {
        return discount_price;
    }

    /**
     * 其他费用
     * @param discount_price 其他费用
     */
    public void setDiscount_price(Double discount_price) {
        this.discount_price = discount_price;
    }

    /**
     * 
     * @return company_id 
     */
    public Integer getCompany_id() {
        return company_id;
    }

    /**
     * 
     * @param company_id 
     */
    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }
}